Skip to content

Comments

go-avahi: Add initial fuzzing harness for DomainNormalize#48

Merged
fish98 merged 4 commits intoOpenPrinting:mainfrom
rishavtarway:add-go-avahi-support
Feb 23, 2026
Merged

go-avahi: Add initial fuzzing harness for DomainNormalize#48
fish98 merged 4 commits intoOpenPrinting:mainfrom
rishavtarway:add-go-avahi-support

Conversation

@rishavtarway
Copy link
Contributor

This PR adds the initial fuzzing infrastructure for the go-avahi project.

Changes:

  • Added projects/go-avahi/fuzzer/fuzz_domain.go: Harness to fuzz the DomainNormalize function, targeting CGo boundary safety.
  • Added projects/go-avahi/oss_fuzz_build.sh: Build script enabling CGo compilation and linking against libavahi-client.
  • Added seed corpus for domain validation.

Testing:

  • Verified locally using OSS-Fuzz Docker images.
  • Validated build success with compile_native_go_fuzzer.

@fish98 fish98 self-assigned this Feb 23, 2026
@fish98 fish98 merged commit 7ee476f into OpenPrinting:main Feb 23, 2026
@fish98
Copy link
Collaborator

fish98 commented Feb 23, 2026

Merged. @mdimado PTAL, thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants